package com.atguigu.realtime.gmallpublisher2.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrderWideMapper {
    List<Map<String, Object>> getTMAmount(@Param("startDate") String startDate, @Param("endDate") String endDate, @Param("limit") int limit);
}

/*
SELECT
	tm_name,
	sum(amount)
from tm_amount
where stat_time>= '2020-12-17' and stat_time < '2020-12-18'
GROUP BY tm_name
 */